ExamPlay Light Logo
Đăng nhập

Computer Science for IGCSE & O level - Programming (Section 14 - No. 27)

What operation is being performed by the code `NumberOfSacks = NumberOfSacks + 1;` (Counting)?
Assigning a value to NumberOfSacks.
Decrementing the value of NumberOfSacks.
Incrementing the value of NumberOfSacks.
Multiplying NumberOfSacks by 1.

Giải thích

This is a standard way to increment a counter variable.

Bình luận (0)

Đăng nhập để bình luận
Quảng cáo
BrainBehindX Inc Logo
©2026; Được cung cấp bởi BrainBehindX Inc